home *** CD-ROM | disk | FTP | other *** search
/ MacGames Sampler / PHT MacGames Bundle.iso / MacSource Folder / Samples from the CD / Assembly / Mac68k / MANUAL / MAN1.DOC next >
Encoding:
Text File  |  1985-08-20  |  7.4 KB  |  188 lines  |  [TEXT/Anon]

  1.  
  2.                                                                   MAC.68K
  3.  
  4.  
  5.                                MAC.68K                               MAC.68K                               MAC.68K
  6.  
  7.                        An  Absolute  Assembler
  8.  
  9.                            User's  Manual
  10.  
  11.  
  12.  
  13.                            Cyclan Software
  14.                            James  R  Hogue
  15.                          5316 Winter Moss Ct
  16.                          Columbia, MD  21045
  17.  
  18.  
  19.             Copyright  (c)  1985  by  James R Hogue.  All
  20.             rights reserved. No part of this  publication
  21.             may  be  reproduced  in  any form without the
  22.             prior written permission of James R Hogue.
  23.  
  24.  
  25.                              DISCLAIMER
  26.  
  27.        Cyclan Software makes  no  claims  or  warranties  with
  28.        respect   to   the   contents   or   accuracy  of  this
  29.        publication or the product it describes.  Further,  the
  30.        right  is  reserved  to  revise this publication and to
  31.        make changes from time to time in  the  content  hereof
  32.        without   obligation  to  notify  any  person  of  such
  33.        changes.
  34.  
  35.  
  36.                              TRADEMARKS
  37.  
  38.        CP/M-68K is a trademark of  Digital  Research.  MC68000
  39.        is  a registered trademark of Motorola Inc. MAC.68K and
  40.        LINK.68K are trademarks of Cyclan  Software.  Macintosh
  41.        is a trademark of Apple Computer.
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. MAC.68K                                   -i-
  64.                                                                   MAC.68K
  65.  
  66.                           TABLE OF CONTENTS                          TABLE OF CONTENTS
  67.  
  68.  
  69.  
  70.  
  71.        Section            Name                               Page
  72.  
  73.         I.     Invoking the Assembler                         2
  74.         II.    MAC.68K Language                               3
  75.                  1. Instruction fields                        3
  76.                  2. Continuation lines                        3
  77.                  3. Comment lines                             4
  78.                  4. Imbedded tab characters                   4
  79.                  5. Symbols                                   4
  80.                  6. Reserved symbols                          5
  81.                  7. Upper and lower case characters           5
  82.                  8. Names                                     5
  83.                  9. Concatenation or ghost characters         6
  84.                 10. Strings and string substitution           6
  85.                 11. ASCII control characters                  7
  86.                 12. Numeric data representation               7
  87.                 13. Character data representation             7
  88.                 14. Expression evaluation                     9
  89.         III.   Macros                                        10
  90.         V.     Program List Formats                          11
  91.         VI.    Program Structure                             11
  92.         VII.   File Names and Extensions                     13
  93.         VIII.  Resources Required                            14
  94.         IX.    Statistic and Error Messages                  15
  95.                  1. Command line errors                      15
  96.                  2. Initialization errors                    15
  97.                  3. Pass one messages                        16
  98.                  4. Pass two messages                        16
  99.                  5. Source line error flags                  17
  100.                  6. Completion messages                      18
  101.        X.     Pseudo Operations                              19
  102.  
  103.  
  104.                  APPENDICIES
  105.  
  106.         A.    Source Line Error Code Descriptions            66
  107.         B.    Supplemental Reading                           68
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125. MAC.68K                                  -ii-
  126.                                PSEUDO OPS                               CONTENTS
  127.  
  128.   Page    Name           Description
  129.  
  130.    21     BSS            Change to block storage segment.
  131.    22     DATA           Change to data segment.
  132.    23     DC             Generate data.
  133.    24     DEFER          Defer assembly of following lines.
  134.    25     DS             Reserve storage locations.
  135.    26     DUP            Duplicate the following lines.
  136.    27     ECHO           Duplicate lines with parameter substitution.
  137.    28     ELSE           Reverse the effects of an IF test.
  138.    29     END            Required last card in program.
  139.    29     ENDC           Terminate an IF block.
  140.    30     ENDD           Terminate a duplication block.
  141.    30     ENDM           Terminate a macro defintion.
  142.    31     ENTRY          Declare module entry points.
  143.    32     EQU or =       Define a symbol.
  144.    33     ERRxx          Conditionally force an assembly error.
  145.    33     EVEN           Force location counter to even word boundary.
  146.    34     GLOBL          Declare a global symbol(s).
  147.    35     HERE           Assemble DEFERed text lines
  148.    36     IDENT          Optional first card in program.
  149.    37     IF             Conditional assembly based on attribute.
  150.    38     IFS/IFC        Conditional assembly based on string comparisons.
  151.    39     IFxx           Conditional assembly based on expression comparisons.
  152.    40     INCLUDE        Include a text file.
  153.    42     INCLUDEH       Include a preassembled module.
  154.    42     INCLUDES       Include a preassembled symbol/macro definition file.
  155.    43     LIST           Control output listing.
  156.    44     LOC            Reset location counter.
  157.    45     LOCAL          Declare names local to a macro.
  158.    46     MACRO          Define a macro.
  159.    47     MACROL         Define a macro using location field as a parameter.
  160.    48     MAX            Assign symbol maximum value of listed expressions.
  161.    48     MIN            Assign symbol minimum value of listed expressions.
  162.    49     MODULE         Declare object file to be a module.
  163.    50     NOREF          Turn off reference attribute for symbol(s).
  164.    50     OFFSET         Change to a null storage segment.
  165.    51     OPSYN          Declare a synonymous macro/operation name.
  166.    52     OPTION         Enable/disable various run time options.
  167.    54     ORG            Reset origin counter.
  168.    55     PAGE           Force a page break or set page length/width.
  169.    55     PURGE          Delete a macro/operation name.
  170.    56     QUAL           Declare a symbol qualifier.
  171.    57     SECTION        Change segments.
  172.    58     SET            Change value of a redefinable symbol.
  173.    59     SPACE          Skip print lines.
  174.    60     STEXT          Declare a macro/symbol table assembly.
  175.    60     STOPDUP        Force early termination of DUP or ECHO.
  176.    61     STRDEC         Create a string from a decimal value.
  177.    61     STRHEX         Create a string from a hex value.
  178.    62     STRING         Define a character string.
  179.    63     STRLEN         Assign symbol the length of a string.
  180.    64     SUBTTL         Set listing subtitle.
  181.    64     TEXT           Change to the text segment.
  182.    64     TITLE          Set listing title.
  183.    65     VFD            Bit width data field.
  184.  
  185.  
  186.  
  187. MAC.68K                                  -iii- et listing title.
  188.    65     VFD